<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        // 注销  方法：cookie失效
         setcookie("uid", null, time());  
         setcookie("uname", null, time()); 
         //header ( "Location: http://www.example.com/" ); //页面重定向：页面强制跳转到另外一个页面
         header("Location:index.php");
        ?>
    </body>
</html>
